package com.example.his.api.mis.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.his.api.db.pojo.RuleEntity;
import com.example.his.api.mis.controller.form.SearchRuleByPageForm;
import com.example.his.api.utils.PageUtils;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

public interface RuleService extends IService<RuleEntity> {
    List<Map<String, Object>> searchAllRule();

    PageUtils searchByPage(SearchRuleByPageForm form);

    int myInsert(RuleEntity entity);

    HashMap searchById(Integer id);

    int myUpdate(RuleEntity entity);

    int myDeleteById(Integer id);
}
